package other_其他模式.transfer_object_pattern_传输对象模式;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: hihi
 * @Date: 2020/07/10/14:37
 * @Description:
 */
public class TransferObjectPatternDemo {
	public static void main(String[] args) {

		StudentBO studentBO = new StudentBO();

		System.err.println(" all students: " + studentBO.getStudents());

		Student student = studentBO.getById(2);

		System.err.println("id : 2 student: " + student);

		studentBO.deleteStudent(new Student(1, null));

		System.err.println(" all students: " + studentBO.getStudents());

	}
}
